package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员订单记录
 */
@TableName("vip_order")
@Data
public class VipOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String orderNo;
    private Integer vipPackageId;
    private String payType;
    private Integer status; // 0待支付 1已支付
    private Date createTime;
    private Integer createBy;
}
